package Test_0723;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 * Dare: 2024-07-23
 * Time: 20:51
 */
public class Dog extends Animal {
    public Dog(int age,String name){
        this.name=name;
        this.age=age;
    }
    public void bark(){
        System.out.println(name+"汪汪叫~");
    }
}
